<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>登录 - {$Think.config.app_name}</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/ph/css/login.css" media="all">
</head>
<body id="login-body">
<div id="login">
    <div id="logo">
        <div id="logo-img"><p class="logo-name">{$Think.config.app_name}</p></div>
    </div>
    <div id="form">
        <form class="layui-form">
            <div class="layui-form-item">
                <input type="text" name="name" value="" lay-verify="required|text" autocomplete="off"
                       class="layui-input" placeholder="请输入用户名">
                <input type="password" name="pass" value="" lay-verify="required|text" autocomplete="off"
                       class="layui-input" placeholder="请输入密码">
                <div class="layui-row layui-col-space10">
                    <div class="layui-col-xs6 layui-col-md6">
                        <input type="text" name="code" lay-verify="required|number" autocomplete="off"
                               class="layui-input" placeholder="请输入验证码">
                    </div>
                    <div class="layui-col-xs6 layui-col-md6">
                        <img src="{:url('Api/image')}" alt="验证码" id="code" onclick="this.src=this.src+'?'" />
                    </div>
                </div>
                <input type="hidden" name="request_url" value="{:url('Login/login')}">
                <input type="button" class="layui-btn layui-btn-fluid" lay-submit lay-filter="*" value="登录">
            </div>
        </form>
    </div>
</div>
<script src="/layui/layui.js" charset="utf-8"></script>
<script src="/ph/js/common.js"></script>
</body>
</html>
